sets_1 = {ele * 2 for ele in range(1 , 5)}
print(sets_1)

sets_2 = {ele + ele for ele in "刘皓"}
print(sets_2)

#说明：集合生成式和列表生成式的主要区别在于，集合生成式使用{} , 而列表生成式使用 []